
<meta charset="utf-8">
<div id="biz_pmpProject_detail_project_set_conatainer">
	<div class="row">
		<div class="col-lg-3 col-xs-6 ">
				<div class="box" >
				<div class="box-header with-border">
					<button type="button" class="btn btn-block btn-info">项目管理</button>
				</div>
				<div class="box-body  box-solid">
					<ul class="nav nav-pills nav-stacked">
					   <li class="active"><a href="#/"><i class="fa fa-inbox"></i> 验收任务 <span class="label label-primary pull-right">12</span></a></li>
					   <li><a href="#"><i class="fa fa-inbox"></i> 验收Bug<span class="label label-primary pull-right">12</span></a></li>
					   <li><a href="javascript:void(0)" v-on:click="entry('/views/pmpDeduceLine/pmpDeduceLine.html','项目设置  >> BUG扣分标准')"><i class="fa fa-envelope-o"></i> BUG扣分标准</a></li>
					   <li><a href="javascript:void(0)" v-on:click="entry('/views/pmpVersion/pmpVersion.html','项目设置  >> 版本管理')"><i class="fa fa-file-text-o"></i> 版本管理</a></li>
					   <li><a href="javascript:void(0)" v-on:click="entry('/views/pmpVersion/pmpVersion.html','项目设置  >>  周安排')" ><i class="fa fa-filter"></i> 周安排 <span class="label label-warning pull-right">65</span></a></li>
					   <li><a href="javascript:void(0)" v-on:click="entry('/views/pmpVersion/pmpVersion.html','项目设置  >>  项目文档')" ><i class="fa fa-file-text-o"></i> 文档管理</a></li>
					   <li><a href="javascript:void(0)" v-on:click="entry('/views/pmpProject/pmpProject.opnen.close.html','项目设置  >>  项目开关')" ><i class="fa fa-trash-o"></i> 关闭/重启项目</a></li>
					   
					 </ul>
				</div>
			</div>

		</div>
		<div class="col-lg-9 col-xs-6 ">
			<div class="box" >
				<div class="box-header with-border" id="project_set_content_header">
					<h4>{{title}}</h4>
				
				</div>
				<div class="box-body" id="project_set_content_job_window">
					
				</div>
			</div>
			
		</div>
	</div>
</div>
<script>

    
var detail_set=new Vue({  
	  el: '#biz_pmpProject_detail_project_set_conatainer',
	  data:{
		  title:"",
		  projectId : null,
		  bus:new Vue(),
	  },
	  mounted:function(){
		  var _this=this;
		  _this.getProjectId();
	  },
    methods: {
  	  initTable:function(){
  		var _this=this;
  	  },
  	getProjectId: function(){
  	  var curPath=window.document.location.href;
 		  var url = curPath.substring(curPath.lastIndexOf('#')+1, curPath.length);
 		  var id=url.split("=")[1];
 		  this.$data.projectId=id;
 		  return id;
  	},
  	
  	entry: function(url,title){
  		var _this=this;
  		_this.$data.title=title;//"项目设置  >> 版本办理";
  		_this.loadDeatailContent(url);
  		//_this.loadDeatailContent("/views/pmpVersion/pmpVersion.html");
  	},
	 loadDeatailContent: function(url){
    		Pace.restart();//加载进度
    		$("#project_set_content_job_window").empty();
    		zfesAjax.ajaxHtml(url, {}, function(data, textStatus, jqXHR){
    			$("#project_set_content_job_window").html(data);
    		},function(jqXHR, textStatus, errorThrown){
    			var data =jqXHR.responseText;
    			$("#project_set_content_job_window").html(data);
    		});
     }
   	
   }
});

function entryProj(id){
	vm.entryProj(id);
}


</script>


